package com.goambu.driver.autenticacion.view;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class ApproveReceiver extends BroadcastReceiver{
	 
	@Override
	 public void onReceive(Context context, Intent intent) {
		String accion = intent.getAction();
		System.out.println("onReceive");
		if (accion!=null) System.out.println(accion);
		//accion = intent.getExtras().getString("accion");
		if (accion!=null) System.out.println(accion);
		Intent i = null;
		i = new Intent(context, MainActivity.class);
		//i.putExtra("accion", 1);
		//context.startActivity(i); 
	   
	 }
 
}